public class CharacterData
{
    public int characterID;

    public int maxHealth;

    public int currentHealth;

    public int currentDefence;

    public int currentCourage;

    public int maxCourage;

    public void ReadFromSO(CharacterData_SO so)
    {
        characterID = so.characterID;
        maxHealth = so.maxHealth;
        currentHealth = so.defaultHealth;
        currentDefence = so.defaultDefence;
        currentCourage = so.currentCourage;
        maxCourage = so.maxCourage;
    }

    public bool isDead()
    {
        if(currentHealth<=0)
        {
            return true;
        }
        else
        {
            return false;
        }
    }
}
